package com.mamlambo.articles.bugged;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class BuggyActivity extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    public void doShowSecondScreen(View view) {
        Intent launchOtherScreen = new Intent(getApplicationContext(),
                OtherActivity.class);
        startActivity(launchOtherScreen);
    }
}